<%@ page import="com.entity.Bank" %>
<%@ page import="java.util.List" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <!--[if IE 6]>
    <script type="text/javascript">
        EvPNG.fix('div, ul, img, li, input, a');
    </script>

    <![endif]-->
    <link
            href="${pageContext.request.contextPath}/bootstrap/css/bootstrap.min.css"
            rel="stylesheet">
    <script
            src="${pageContext.request.contextPath}/js/jquery-1.12.4.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/calendar/WdatePicker.js"></script>
    <script
            src="${pageContext.request.contextPath}/bootstrap/js/bootstrap.min.js"></script>

    <link type="text/css" rel="stylesheet" href="${pageContext.request.contextPath}css/style.css"/>
    <script type="text/javascript" src="${pageContext.request.contextPath}js/bank.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}js/menu.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}js/select.js"></script>
    <script src="js/iepng.js" type="${pageContext.request.contextPath}text/javascript"></script>
    <script
            src="${pageContext.request.contextPath}/table/bootstrap-table.js"></script>
    <title>电子商务系统</title>
</head>
<%
    List<Bank> bankList = (List<Bank>) request.getAttribute("bankList");
    System.out.println(bankList.size() + "----");
%>
<body>
<!--Begin Header Begin-->
<div class="soubg">
    <div class="sou">
        <!--Begin 所在收货地区 Begin-->
        <span class="s_city_b">
        	<span class="fl">送货至：</span>
            <span class="s_city">
            	<span>四川</span>
                <div class="s_city_bg">
                	<div class="s_city_t"></div>
                    <div class="s_city_c">
                    	<h2>请选择所在的收货地区</h2>
                        <table border="0" class="c_tab" style="width:235px; margin-top:10px;" cellspacing="0"
                               cellpadding="0">
                          <tr>
                            <th>A</th>
                            <td class="c_h"><span>安徽</span><span>澳门</span></td>
                          </tr>
                          <tr>
                            <th>B</th>
                            <td class="c_h"><span>北京</span></td>
                          </tr>
                          <tr>
                            <th>C</th>
                            <td class="c_h"><span>重庆</span></td>
                          </tr>
                          <tr>
                            <th>F</th>
                            <td class="c_h"><span>福建</span></td>
                          </tr>
                          <tr>
                            <th>G</th>
                            <td class="c_h"><span>广东</span><span>广西</span><span>贵州</span><span>甘肃</span></td>
                          </tr>
                          <tr>
                            <th>H</th>
                            <td class="c_h"><span>河北</span><span>河南</span><span>黑龙江</span><span>海南</span><span>湖北</span><span>湖南</span></td>
                          </tr>
                          <tr>
                            <th>J</th>
                            <td class="c_h"><span>江苏</span><span>吉林</span><span>江西</span></td>
                          </tr>
                          <tr>
                            <th>L</th>
                            <td class="c_h"><span>辽宁</span></td>
                          </tr>
                          <tr>
                            <th>N</th>
                            <td class="c_h"><span>内蒙古</span><span>宁夏</span></td>
                          </tr>
                          <tr>
                            <th>Q</th>
                            <td class="c_h"><span>青海</span></td>
                          </tr>
                          <tr>
                            <th>S</th>
                            <td class="c_h"><span>上海</span><span>山东</span><span>山西</span><span class="c_check">四川</span><span>陕西</span></td>
                          </tr>
                          <tr>
                            <th>T</th>
                            <td class="c_h"><span>台湾</span><span>天津</span></td>
                          </tr>
                          <tr>
                            <th>X</th>
                            <td class="c_h"><span>西藏</span><span>香港</span><span>新疆</span></td>
                          </tr>
                          <tr>
                            <th>Y</th>
                            <td class="c_h"><span>云南</span></td>
                          </tr>
                          <tr>
                            <th>Z</th>
                            <td class="c_h"><span>浙江</span></td>
                          </tr>
                        </table>
                    </div>
                </div>
            </span>
        </span>
        <!--End 所在收货地区 End-->
        <span class="fr">
        	<span class="fl">你好，请<a href="Login.html">登录</a>&nbsp; <a href="Regist.html" style="color:#ff4e00;">免费注册</a>&nbsp;|&nbsp;<a
                    href="#">我的订单</a>&nbsp;|</span>
        	<span class="ss">
            	<div class="ss_list">
                	<a href="#">收藏夹</a>
                    <div class="ss_list_bg">
                    	<div class="s_city_t"></div>
                        <div class="ss_list_c">
                        	<ul>
                            	<li><a href="#">我的收藏夹</a></li>
                                <li><a href="#">我的收藏夹</a></li>
                            </ul>
                        </div>
                    </div>
                </div>
                <div class="ss_list">
                	<a href="#">客户服务</a>
                    <div class="ss_list_bg">
                    	<div class="s_city_t"></div>
                        <div class="ss_list_c">
                        	<ul>
                            	<li><a href="/getBankListByCondition">客户信息</a></li>
                                <li><a href="addBank.html">添加客户</a></li>
                                <li><a href="#">客户服务</a></li>
                            </ul>
                        </div>
                    </div>
                </div>
                <div class="ss_list">
                	<a href="#">网站导航</a>
                    <div class="ss_list_bg">
                    	<div class="s_city_t"></div>
                        <div class="ss_list_c">
                        	<ul>
                            	<li><a href="#">网站导航</a></li>
                                <li><a href="#">网站导航</a></li>
                            </ul>
                        </div>
                    </div>
                </div>
            </span>
            <span class="fl">|&nbsp;关注我们：</span>
            <span class="s_sh"><a href="#" class="sh1">新浪</a><a href="#" class="sh2">微信</a></span>
            <span class="fr">|&nbsp;<a href="#">手机版&nbsp;<img src="images/s_tel.png" align="absmiddle"/></a></span>
        </span>
    </div>
</div>
<div class="m_top_bg">
    <div class="top">
        <div class="m_logo"><a href="Home?action=index"><img src="images/logo.png"></a></div>
        <div class="m_search">
            <input placeholder="请输入搜索内容" class="m_ipt"/>
        </div>
        <div class="i_car">
            <div class="car_t">
                购物车 [
                <span>


                    空

            </span>]
            </div>
            <div class="car_bg">
                <!--Begin 购物车未登录 Begin-->


                <div class="un_login">我的购物车</div>

                <!--End 购物车未登录 End-->
                <!--Begin 购物车已登录 Begin-->
                <ul class="cars">

                </ul>
                <div class="price_sum">共计&nbsp;<font color="#ff4e00">￥</font><span></span></div>


                <div class="price_a"><a href="Cart?action=toSettlement">去结算</a></div>

                <!--End 购物车已登录 End-->
            </div>
        </div>
    </div>
</div>
<!--End Header End-->
<div class="i_bg bg_color">
    <!--Begin 用户中心 Begin -->
    <div class="m_content">
        <div class="m_left">
            <div class="left_n">管理中心</div>
            <div class="left_m">
                <div class="left_m_t t_bg1">订单中心</div>
                <ul>
                    <li><a href="/getAllOrder" class="now">我的订单</a></li>
                    <li><a href="Member_Address.html">收货地址</a></li>
                    <li><a href="#">缺货登记</a></li>
                    <li><a href="#">跟踪订单</a></li>
                </ul>
            </div>
            <div class="left_m">
                <div class="left_m_t t_bg2">会员中心</div>
                <ul>
                    <li><a href="Member_User.html">用户信息</a></li>
                    <li><a href="Member_Collect.html">我的收藏</a></li>
                    <li><a href="Member_Msg.html">我的留言</a></li>
                    <li><a href="Member_Links.html">推广链接</a></li>
                    <li><a href="#">我的评论</a></li>
                </ul>
            </div>
            <div class="left_m">
                <div class="left_m_t t_bg3">账户中心</div>
                <ul>
                    <li><a href="Member_Safe.html">账户安全</a></li>
                    <li><a href="Member_Packet.html">我的红包</a></li>
                    <li><a href="Member_Money.html">资金管理</a></li>
                </ul>
            </div>
            <div class="left_m">
                <div class="left_m_t t_bg4">分销中心</div>
                <ul>
                    <li><a href="Member_Member.html">我的会员</a></li>
                    <li><a href="Member_Results.html">我的业绩</a></li>
                    <li><a href="Member_Commission.html">我的佣金</a></li>
                    <li><a href="Member_Cash.html">申请提现</a></li>
                </ul>
            </div>
        </div>
        <div class="m_right">
            <nav class="navbar navbar-default">
                <h4>账户列表</h4>
                <div class="form-inline">
                    账户名:<input id="bankName" class="form-control" type="text" placeholder="请输入客户姓名"
                               value="${bank.customerName}"/>
                    开户日期：<input id="produceTime" class="form-control" type="text"
                                onfocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})"
                                value="${bank.produceTime}"/>
                    卡号：<input id="cardID" class="form-control" value="${bank.cardID}" type="text"/>
                    <input id="myButton" class="form-control" type="submit" value="搜索"
                           onclick="javascript:doSearch(${pageTool.currentPageNo})"/>
                </div>
            </nav>
            <form action="removeMoreBank" method="post">
                <table id="tab" border="0" class="order_tab"
                       style="width:930px; text-align:center; margin-bottom:30px;"
                       cellspacing="0" cellpadding="0">
                    <tr>
                        <td width="15%">
                            <input id="selectAll" type="checkbox"/>全选
                            <input id="selectNotAll" type="checkbox"/>反选
                        </td>
                        <td width="10%">编号</td>
                        <td width="20%">顾客姓名</td>
                        <td width="10%">当前金额</td>
                        <td width="12%">开户时间</td>
                        <td width="20%">卡号</td>
                        <td width="15%">操作</td>
                    </tr>
                    <tbody class="data">
                    <c:forEach items="${bankList}" var="bank">
                        <tr>
                            <td>
                                <input value="${bank.id}" name="ids" type="checkbox"/>
                            </td>
                            <td>${bank.id}</td>
                            <td><c:out value="${bank.customerName}"></c:out></td>
                            <td>￥<c:out value="${bank.currentMoney}"></c:out></td>
                            <td><fmt:formatDate pattern="yyyy-MM-dd HH:mm:ss"
                                                value="${bank.produceTime}"></fmt:formatDate></td>
                            <td><font color="#ff4e00"><c:out value="${bank.cardID}"></c:out></font></td>
                            <td colspan="2" id="bank${bank.id}"><a
                                    href="javascript:areYouOk(${bank.id},'${bank.customerName}')">删除</a>&nbsp &nbsp
                                <a data-toggle='modal' data-target='#myModal' onclick='edit(${bank.id})'>修改</a></td>
                        </tr>
                    </c:forEach>
                    </tbody>
                    <tr>
                        <td align="center"><input formmethod="post" type="submit"
                                                  style="cursor: pointer; font-style: inherit;" name="submit"
                                                  value="批量删除"> 
                    </tr>
                </table>
                <jsp:include page="page.jsp"></jsp:include>
            </form>
            <div class="modal fade" id="myModal" tabindex="-1" role="dialog"
                 aria-labelledby="myModalLabel">
                <div class="modal-dialog" role="document">
                    <div class="modal-content">
                        <div class="modal-header">
                            <button type="button" class="close" data-dismiss="modal"
                                    aria-label="Close">
                                <span aria-hidden="true">&times;</span>
                            </button>
                            <h4 class="modal-title" id="myModalLabel">修改模态框</h4>
                        </div>
                        <div class="modal-body">
                            <form id="myform">
                                <input type="text" name="id" id="id"
                                       readonly="readonly" hidden/>
                                <table class="table table-striped">
                                    <tr>
                                        <td>产品名称</td>
                                        <td><input class="form-control" type="text" name="customerName" id="c_name">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>当前金额</td>
                                        <td><input class="form-control" type="text" name="currentMoney" id="c_money"
                                                   onkeyup="this.value=this.value.replace(/[^\d.]/g, '')
                                                                                    .replace(/\.{2,}/g, '.')
                                                                                    .replace('.', '$#$')
                                                                                    .replace(/\./g, '')
                                                                                    .replace('$#$', '.')
                                                                                    .replace(/^\./g, '')"
                                        >
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>开户时间</td>


                                        <td><input class="form-control" id="p_time"
                                                   type="text" name="produceTime"
                                                   onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})"/></td>
                                    </tr>

                                    <tr>
                                        <td>卡号</td>
                                        <td><input class="form-control" type="text" name="cardID" id="c_ID">
                                        </td>
                                    </tr>

                                    <tr>
                                        <td colspan="2"><input class="btn btn-info" type="reset"
                                                               value="重置数据"/></td>
                                    </tr>
                                </table>
                            </form>

                        </div>
                        <div class="modal-footer">
                            <button type="button" class="btn btn-primary" onclick="doEdit()">确定修改</button>
                            <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                        </div>
                    </div>
                </div>
            </div>

            <div class="mem_tit">合并订单</div>
            <table border="0" class="order_tab" style="width:930px;" cellspacing="0" cellpadding="0">
                <tr>
                    <td width="135" align="right">主订单</td>
                    <td width="220">
                        <select class="jj" name="order1">
                            <option value="0" selected="selected">请选择...</option>
                            <option value="1">2015092626589</option>
                            <option value="2">2015092626589</option>
                            <option value="3">2015092626589</option>
                            <option value="4">2015092626589</option>
                        </select>
                    </td>
                    <td width="135" align="right">从订单</td>
                    <td width="220">
                        <select class="jj" name="order2">
                            <option value="0" selected="selected">请选择...</option>
                            <option value="1">2015092626589</option>
                            <option value="2">2015092626589</option>
                            <option value="3">2015092626589</option>
                            <option value="4">2015092626589</option>
                        </select>
                    </td>
                    <td>
                        <div class="btn_u"><a href="#">合并订单</a></div>
                    </td>
                </tr>
                <tr>
                    <td>&nbsp;</td>
                    <td colspan="4" style="font-family:'宋体'; padding:20px 10px 50px 10px;">
                        订单合并是在发货前将相同状态的订单合并成一新的订单。 <br/>
                        收货地址，送货方式等以主定单为准。
                    </td>
                </tr>
            </table>


        </div>
    </div>
    <!--End 用户中心 End-->
    <!--Begin Footer Begin -->
    <div class="b_btm_bg b_btm_c">
        <div class="b_btm">
            <table border="0" style="width:210px; height:62px; float:left; margin-left:75px; margin-top:30px;"
                   cellspacing="0" cellpadding="0">
                <tr>
                    <td width="72"><img src="images/b1.png" width="62" height="62"/></td>
                    <td><h2>正品保障</h2>正品行货 放心购买</td>
                </tr>
            </table>
            <table border="0" style="width:210px; height:62px; float:left; margin-left:75px; margin-top:30px;"
                   cellspacing="0" cellpadding="0">
                <tr>
                    <td width="72"><img src="images/b2.png" width="62" height="62"/></td>
                    <td><h2>满38包邮</h2>满38包邮 免运费</td>
                </tr>
            </table>
            <table border="0" style="width:210px; height:62px; float:left; margin-left:75px; margin-top:30px;"
                   cellspacing="0" cellpadding="0">
                <tr>
                    <td width="72"><img src="images/b3.png" width="62" height="62"/></td>
                    <td><h2>天天低价</h2>天天低价 畅选无忧</td>
                </tr>
            </table>
            <table border="0" style="width:210px; height:62px; float:left; margin-left:75px; margin-top:30px;"
                   cellspacing="0" cellpadding="0">
                <tr>
                    <td width="72"><img src="images/b4.png" width="62" height="62"/></td>
                    <td><h2>准时送达</h2>收货时间由你做主</td>
                </tr>
            </table>
        </div>
    </div>
    <div class="b_nav">
        <dl>
            <dt><a href="#">新手上路</a></dt>
            <dd><a href="#">售后流程</a></dd>
            <dd><a href="#">购物流程</a></dd>
            <dd><a href="#">订购方式</a></dd>
            <dd><a href="#">隐私声明</a></dd>
            <dd><a href="#">推荐分享说明</a></dd>
        </dl>
        <dl>
            <dt><a href="#">配送与支付</a></dt>
            <dd><a href="#">货到付款区域</a></dd>
            <dd><a href="#">配送支付查询</a></dd>
            <dd><a href="#">支付方式说明</a></dd>
        </dl>
        <dl>
            <dt><a href="#">会员中心</a></dt>
            <dd><a href="#">资金管理</a></dd>
            <dd><a href="#">我的收藏</a></dd>
            <dd><a href="#">我的订单</a></dd>
        </dl>
        <dl>
            <dt><a href="#">服务保证</a></dt>
            <dd><a href="#">退换货原则</a></dd>
            <dd><a href="#">售后服务保证</a></dd>
            <dd><a href="#">产品质量保证</a></dd>
        </dl>
        <dl>
            <dt><a href="#">联系我们</a></dt>
            <dd><a href="#">网站故障报告</a></dd>
            <dd><a href="#">购物咨询</a></dd>
            <dd><a href="#">投诉与建议</a></dd>
        </dl>
        <div class="b_tel_bg">
            <a href="#" class="b_sh1">新浪微博</a>
            <a href="#" class="b_sh2">腾讯微博</a>
            <p>
                服务热线：<br/>
                <span>400-123-4567</span>
            </p>
        </div>
        <div class="b_er">
            <div class="b_er_c"><img src="images/er.gif" width="118" height="118"/></div>
            <img src="images/ss.png"/>
        </div>
    </div>
    <div class="btmbg">
        <div class="btm">
            备案/许可证编号：京ICP备12009302号-1-www.dingguagua.com Copyright © 2015-2018 电子商城网 All Rights Reserved. 复制必究 ,
            Technical Support: Dgg Group <br/>
            <img src="images/b_1.gif" width="98" height="33"/><img src="images/b_2.gif" width="98" height="33"/><img
                src="images/b_3.gif" width="98" height="33"/><img src="images/b_4.gif" width="98" height="33"/><img
                src="images/b_5.gif" width="98" height="33"/><img src="images/b_6.gif" width="98" height="33"/>
        </div>
    </div>
    <!--End Footer End -->
</div>

</body>


<![endif]-->
</html>
<
